

from core.himesis import Himesis
import cPickle as pickle
from uuid import UUID

class HL2_SM2SM(Himesis):
    def __init__(self):
        """
        Creates the himesis graph representing the AToM3 model HL2_SM2SM.
        """
        # Flag this instance as compiled now
        self.is_compiled = True
        
        super(HL2_SM2SM, self).__init__(name='HL2_SM2SM', num_nodes=12, edges=[])
        
        # Add the edges
        self.add_edges([(4, 0), (0, 7), (7, 1), (1, 9), (2, 5), (8, 3), (3, 6), (5, 8), (11, 6), (7, 10), (10, 8), (9, 11)])
        # Set the graph attributes
        self["mm__"] = pickle.loads("""(lp1
S'SimpleDSLTransMM'
p2
a.""")
        self["name"] = """L2_SM2SM"""
        self["GUID__"] = UUID('b4ae40ba-f6d1-493f-a95d-a25d7f273fce')
        
        # Set the node attributes
        self.vs[0]["mm__"] = """apply_contains"""
        self.vs[0]["GUID__"] = UUID('111e5cec-0646-441f-8d0c-05a161e968f7')
        self.vs[1]["mm__"] = """directLink_T"""
        self.vs[1]["GUID__"] = UUID('1f9c9445-4f66-41f4-8963-332f9147b4c2')
        self.vs[2]["mm__"] = """MatchModel"""
        self.vs[2]["GUID__"] = UUID('b4eb943e-57b4-4e9d-a944-18bd28fd7710')
        self.vs[3]["mm__"] = """indirectLink_S"""
        self.vs[3]["GUID__"] = UUID('01881341-34d5-4b5e-ad8c-17b95f39d456')
        self.vs[4]["mm__"] = """ApplyModel"""
        self.vs[4]["GUID__"] = UUID('98f84d4a-d04b-41aa-8ada-6ce9be9e7b3e')
        self.vs[5]["mm__"] = """match_contains"""
        self.vs[5]["GUID__"] = UUID('a069485f-b486-48f9-8237-2ecca61ef526')
        self.vs[6]["mm__"] = """Male_S"""
        self.vs[6]["name"] = """m"""
        self.vs[6]["GUID__"] = UUID('8fd17128-25d7-4562-86e0-c6555ccfd399')
        self.vs[7]["mm__"] = """Station_T"""
        self.vs[7]["name"] = """s"""
        self.vs[7]["GUID__"] = UUID('e3862dbd-33ef-4bd7-9152-bc3b607a2b66')
        self.vs[8]["mm__"] = """Station_S"""
        self.vs[8]["name"] = """s"""
        self.vs[8]["GUID__"] = UUID('630a35a6-0086-4bcb-8141-b84553d4f4fe')
        self.vs[9]["mm__"] = """Male_T"""
        self.vs[9]["name"] = """m"""
        self.vs[9]["GUID__"] = UUID('5c1aefb0-7c48-4172-a2bc-10de6a338439')
        self.vs[10]["mm__"] = """backward_link"""
        self.vs[10]["GUID__"] = UUID('89ba3bab-c97d-40ea-a494-3fdee1bda6f7')
        self.vs[11]["mm__"] = """backward_link"""
        self.vs[11]["GUID__"] = UUID('f14532af-76fb-4df8-b4dc-e6db2d860a1f')

